package com.bruce.demo2.patterns.demo1.creational.demo03.abstractFactory;

/**
 * @PROJECT_NAME design_patterns
 * @DESCRIPTION 咖啡类
 * @AUTHOR CNBruceLee
 * @DATE 2021/7/11 14:17
 */
public abstract class Coffee {
    public abstract String getName();

    public void addMilk() {
        System.out.println("加奶");
    }

    public void addSugar() {
        System.out.println("加糖");
    }
}
